.PHONY:all
all:test myshell

test:test.c
	gcc -o $@ $^

myshell:myshell.c
	gcc -o $@ $^ -g

.PHONY:clean
clean:
	rm -rf myshell test
